package com.zzyl.nursing.service.impl;


import com.zzyl.framework.interceptor.UserThreadLocal;
import com.zzyl.nursing.mapper.MemberReservationMapper;
import com.zzyl.nursing.service.IMemberReservationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IMemberReservationServiceImpl implements IMemberReservationService {

    @Autowired
    private MemberReservationMapper memberReservationMapper;

    /**
     * 查询取消预约数量
     *
     * @return
     */
    @Override
    public int cancelledCount() {
        Long userId = UserThreadLocal.getUserId();
        //通过用户ID查询取消预约数量
        return 1;
    }
}
